import tkinter as tk

top = tk.Tk()
top.title('Hello Tk')
top.geometry('640x480')
top.mainloop()